package com.zf.admin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author LJH
 * @date 2019/9/21-21:31
 * @QQ 1755497577
 */
@Controller
public class PageController {

    @RequestMapping({"/login", "/"})
    public String login() {
        return "login";
    }

    @RequestMapping({"/register"})
    public String register() {
        return "register";
    }


    @RequestMapping("/toindex")
    public String toindex() {

        return "admin/index";
    }
}
